package pers.xuehongyan.useat.server.exception.ticket;

import org.springframework.http.HttpStatus;

/**
 * @author xuehongyan
 */
public class TicketNotFoundException extends TicketException {
    public TicketNotFoundException(Integer id) {
        super(String.format("Ticket with id:%d not found", id));
    }

    @Override
    public HttpStatus getHttpStatus() {
        return HttpStatus.NOT_FOUND;
    }
}
